class Player:
    def __init__(self,playerData):
        self.coin = int(playerData['profile']['coins'])
        self.name = playerData['profile']['name']
        self.activeShip = playerData['activeShip']['id']